package com.dhsc.controller.ywjk.jzcl;

import com.dhsc.domain.jkzx.ywjk.jzcl.YcmxlsVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.ywjk.jzcl.IYcmxService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName: YcmxlsinfoController
 * @Description: 当前异常明细
 * @date: 2023/8/29 14:07
 * @author: gx
 */
@Controller
@RequestMapping("/ywjk/jzcl")
public class YcmxController {

    @Autowired
    private IYcmxService ycmxService;

    /**
     * @Title: queryYcmx
     * @Description: 查询当前异常明细信息
     * @param ycmxlsVo
     * @return LayuiTableVo
     * @date: 2023/8/29 14:07
     * @author: gx
     */
    @ResponseBody
    @RequestMapping(value="/queryYcmx")
    public LayuiTableVo queryYcmx(YcmxlsVo ycmxlsVo){
        return ycmxService.queryYcmx(ycmxlsVo);
    }

    /**
     * @Title: saveYcmx
     * @Description: 修改当前异常明细
     * @param ycmxlsVo
     * @return ResponseObject
     * @date: 2023/8/29 14:07
     * @author: gx
     */
    @ResponseBody
    @RequestMapping(value="/saveYcmx")
    public ResponseObject saveYcmx(YcmxlsVo ycmxlsVo){
        return ycmxService.saveYcmx(ycmxlsVo);
    }

    /**
    * @Description: 查询处理人
    * @MessageName: queryClr
    * @return: ResponseObject
    * @Author: gx
    * @Date: 2024/5/8 10:13
    */
    @ResponseBody
    @RequestMapping(value = "/queryClr")
    public ResponseObject queryClr(){
        return ycmxService.queryClr();
    }
}
